from django.db import models

# Create your models here.
class DetailStudent(models.Model):
    studentID = models.CharField(max_length=20)
    firstName = models.CharField(max_length=30)
    lastName = models.CharField(max_length=30)
    section = models.CharField(max_length=10)
    teacherName = models.CharField(max_length=30)
    labScore = models.CharField(max_length=20)
    midScore = models.CharField(max_length=20)
    finalScore = models.CharField(max_length=20)
    totalScore = models.CharField(max_length=20)
    gradeScore = models.CharField(max_length=20)


class ReportStudent(models.Model):
    studentID = models.CharField(max_length=20)
    firstName = models.CharField(max_length=30)
    lastName = models.CharField(max_length=30)
    totalScore = models.CharField(max_length=20)
    gradeScore = models.CharField(max_length=20)
    section = models.CharField(max_length=10)
    

class History(models.Model):
    dateHistory = models.DateField()
    historyDetail = models.CharField(max_length=300)
    #authors = models.ManyToManyField(Author)
    #publisher = models.ForeignKey(Publisher)
    
